package com.sanadc.shohdi.chapter2.immutable_objects;



public class Employee implements Cloneable
{
	protected final  int employeeID;
	protected final  String firstName;
	protected final String lastName;
	
	public Employee (int id,String first,String last)
	{
		employeeID = id;
		firstName = first;
		lastName = last;
	}
	
	public static void main(String[] args)
	{
		Employee emp = new  Employee(12345,"shohdi","elsheemy");
		
		if (emp instanceof Cloneable)
		{
			System.out.println ("I can create a clone of this object");
		}
		else
		{
			System.out.println ("I can't create a clone of this object");
		}
			
		
		
		
	}
	
	
}